package com.atguigu.yygh.hosp.repository;

import com.atguigu.yygh.hosp.bean.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserMongoRepository extends MongoRepository<User,String> {

    public List<User> findByUsernameLike(String username);
    public List<User> findByGenderTrue();
}
